package hjw.com.dao;

import hjw.com.entity.mark.Mark;
import hjw.com.entity.mark.MarkInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MarkMapper {
    List<MarkInfo> findOne(@Param("phone")String phone);
    Mark findBySno(@Param("phone")String phone, @Param("cno")String cno);

    int UpdateById(@Param("id")String id, @Param("cno")String cno, @Param("score")String score);

    int addMark(MarkInfo markInfo);
}
